<form name="frmSearch" id="frmSearch" action="{$smarty.const.HOST_BACKEND}slideshow/index" method="get" enctype="multipart/form-data">
	<input type="hidden" name="pcancel" id="pcancel" value="0" />
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="search">
        <tbody>
            <tr>    
                <td width="20%">
                    <label for="stt">Tình trạng:</label>
                    <select name="stt" id="stt" onchange="this.form.submit();">                       	                    
                        {html_options options=$arrStatus selected=$intStatus}
                    </select>
                </td>
                <td width="20%">
                    <label for="keyword">Từ khóa:</label>
                    <input type="text" name="keyword" id="keyword" value="{if isset($smarty.session.SLIDESHOW_POST)}{$smarty.session.SLIDESHOW_POST.keyword|escape}{/if}"/>
                </td>
                <td width="20%">
                    <label for="startdate">Ngày đăng:</label>
                    <input type="text" name="startdate" id="startdate" value="{if isset($smarty.session.SLIDESHOW_POST)}{$smarty.session.SLIDESHOW_POST.startdate|escape}{/if}" class="half first"/>
                    <input type="text" name="enddate" id="enddate" value="{if isset($smarty.session.SLIDESHOW_POST)}{$smarty.session.SLIDESHOW_POST.enddate|escape}{/if}" class="half"/>
                </td>
                <td>                
                    <button type="submit" class="search">Tìm kiếm</button>                
                    {if isset($smarty.session.SLIDESHOW_CANCEL) && $smarty.session.SLIDESHOW_CANCEL == 1} 
                        <button type="button" onclick="javascript:cancelSearch(this.form);" class="search">Thôi tìm kiếm</button> 
                    {/if}
                </td>  
            </tr>
        </tbody>
    </table>
</form>